﻿namespace zhwy.saas.api.Models.Other.Files
{
    public class FilesRes
    {
        /// <summary>
        /// ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get; set; } = null!;

        /// <summary>
        /// 文件存储路径
        /// </summary>
        public string FilePath { get; set; } = null!;

        /// <summary>
        /// 文件URL路径（可用于前端显示）
        /// </summary>
        public string Url { get; set; } = null!;

        /// <summary>
        /// 文件大小（字节）
        /// </summary>
        public int FileSize { get; set; }

        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime UploadTime { get; set; }

        /// <summary>
        /// 上传文件系统渠道
        /// </summary>
        public string? UploadType { get; set; }
    }
}
